package com.cr4y0n.crayonpicturebackend.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户视图（脱敏）
 *
 * @author cr4y0n
 * @version 1.0.0
 */
@Data
@ApiModel("用户视图（脱敏）")
public class UserVO implements Serializable {

    private static final long serialVersionUID = -1714459665069980612L;

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("用户账号")
    private String userAccount;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("用户简介")
    private String userProfile;

    @ApiModelProperty("用户角色")
    private String userRole;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
